<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>用户注册</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
 <div class="container">
 <h2>用户注册</h2>
<form id="registerForm">
<label for="username">用户名:</label>
 <input type="text" id="username" name="username" required> 
 <label for="email">邮箱:</label>
 <input type="email" id="email" name="email" required>
 <label for="password">密码:</label>
 <input type="password" id="password" name="password" required> 
 <button type="submit">注册</button>
 <p id="registerError" class="error"></p>
</form>
 </div>
 <script src="script.js"></script>
</body>
</html>